package com.chen.winnerframework.domain.dto;

import io.swagger.annotations.ApiModelProperty;

import java.io.Serializable;

/**
 * 分页 数据传输对象
 *
 * @author chengy
 * @date 2022/11/02
 */
public class PageDto implements Serializable {

    private static final long serialVersionUID = 1L;

    /**
     * 当前页
     */
    @ApiModelProperty("当前页")
    private Integer currentPage;

    /**
     * 页大小
     */
    @ApiModelProperty("页大小")
    private Integer pageSize;

    public Integer getCurrentPage() {
        return currentPage;
    }

    public void setCurrentPage(Integer currentPage) {
        this.currentPage = currentPage;
    }

    public Integer getPageSize() {
        return pageSize;
    }

    public void setPageSize(Integer pageSize) {
        this.pageSize = pageSize;
    }

}
